<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>


<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>天津市粮油集团有限公司 OA办公自动化协作平台</title>
		<link href="<%=basePath%>style/css.css" rel="stylesheet" type="text/css" />
		<script type="text/javascript" src="<%=basePath%>FCKeditor/fckeditor.js"></script>
			
	<script type="text/javascript">
    	function checksForm(state){
    	//document.infoForm.state.value=state;
		var title=document.infoForm.title.value;
		var content=document.getElementById("contest").value;
		if(title==null || title.length==0 ){
				alert('题目或内容不能为空！');
			}else{
				document.infoForm.submit();
			}
		}
    </script>
	</head>


	<body>
		<div id="basic" style="width: 99%">
			<!--导航开始处-->
			<div id="index_title">
				<ul>
					<li id="ul_title1" class="over"><a onclick="change(0)" style="cursor:hand"><span>添加信息</span></a></li>
				</ul>
			</div>
				<form name="infoForm"
					action='<%=basePath%>tjsinfo/tjsoa/workreport/workReportSave.do' method="post">
					<div id="draft_tab01" class="draft_tab01">
					<table width="100%" border="0" cellspacing="0">
						<tr>
							<td>
								题目：
								<input name="title" type="text" id="title" size="80" maxlength="100"/>
								<input name="nowDate" type="hidden" id="readonly" size="110"/>
							</td>
						</tr>
						<tr>
							<td height="370"><textarea name="contest" id="contest"
						style="width: 100%; height: 400px;"></textarea>
									<script type="text/javascript">
										var oFCKeditor = new FCKeditor( 'contest' ) ;
										oFCKeditor.BasePath = '<%=basePath%>FCKeditor/' ;
										oFCKeditor.ToolbarSet = 'Zoa' ;
										oFCKeditor.Width = '98%' ;
										oFCKeditor.Height = '300px' ;
										oFCKeditor.Value = '' ;
										oFCKeditor.ReplaceTextarea(); 
										//oFCKeditor.Create() ;
			                        </script>
							</td>
						</tr>
						
						<tr>
							<td>
								<div align="center">
									<a onclick="checksForm(1)" style="cursor:hand"><img src="<%=basePath %>images/sub_btn.gif" width="72"
											height="17" />
									</a>
									<a  href="<%=basePath %>tjsinfo/tjsoa/workreport/workReportMeList.do" style="cursor:hand"><img src="<%=basePath %>efile/images/fanhui.gif" width="72"
											height="17" />
									</a>
								</div>
							</td>
						</tr>
					</table>
			</div>
				</form>
			<div class="clear"></div>
		</div>
	</body>
</html>